home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / windownt / awksrc.zip / GAWK-D~1.14 / GAWK.CP < prev    next >
Text File  |  1993-10-03  |  17KB  |  326 lines

  1. \entry {what is awk}{1}{what is \code {awk}}
  2. \entry {uses of awk}{1}{uses of \code {awk}}
  3. \entry {acronym}{1}{acronym}
  4. \entry {history of awk}{1}{history of \code {awk}}
  5. \entry {manual, using this}{11}{manual, using this}
  6. \entry {using this manual}{11}{using this manual}
  7. \entry {language, awk}{11}{language, \code {awk}}
  8. \entry {program, awk}{11}{program, \code {awk}}
  9. \entry {awk language}{11}{\code {awk} language}
  10. \entry {awk program}{11}{\code {awk} program}
  11. \entry {input file, sample}{11}{input file, sample}
  12. \entry {sample input file}{11}{sample input file}
  13. \entry {BBS-list file}{11}{\file {BBS-list} file}
  14. \entry {inventory-shipped file}{12}{\file {inventory-shipped} file}
  15. \entry {script, definition of}{13}{script, definition of}
  16. \entry {rule, definition of}{13}{rule, definition of}
  17. \entry {program, definition of}{13}{program, definition of}
  18. \entry {basic function of gawk}{13}{basic function of \code {gawk}}
  19. \entry {print $0}{13}{\samp {print $0}}
  20. \entry {action, default}{14}{action, default}
  21. \entry {pattern, default}{14}{pattern, default}
  22. \entry {default action}{14}{default action}
  23. \entry {default pattern}{14}{default pattern}
  24. \entry {how awk works}{14}{how \code {awk} works}
  25. \entry {command line formats}{16}{command line formats}
  26. \entry {running awk programs}{16}{running \code {awk} programs}
  27. \entry {single quotes, why needed}{17}{single quotes, why needed}
  28. \entry {standard input}{17}{standard input}
  29. \entry {input, standard}{17}{input, standard}
  30. \entry {case sensitivity}{18}{case sensitivity}
  31. \entry {pattern, case sensitive}{18}{pattern, case sensitive}
  32. \entry {running long programs}{18}{running long programs}
  33. \entry {-f option}{18}{\samp {-f} option}
  34. \entry {program file}{18}{program file}
  35. \entry {file, awk program}{18}{file, \code {awk} program}
  36. \entry {executable scripts}{19}{executable scripts}
  37. \entry {scripts, executable}{19}{scripts, executable}
  38. \entry {self contained programs}{19}{self contained programs}
  39. \entry {program, self contained}{19}{program, self contained}
  40. \entry {#!}{19}{\samp {#!}}
  41. \entry {shell scripts}{20}{shell scripts}
  42. \entry {scripts, shell}{20}{scripts, shell}
  43. \entry {#}{20}{\samp {#}}
  44. \entry {comments}{20}{comments}
  45. \entry {use of comments}{20}{use of comments}
  46. \entry {documenting awk programs}{20}{documenting \code {awk} programs}
  47. \entry {programs, documenting}{20}{programs, documenting}
  48. \entry {backslash continuation}{21}{backslash continuation}
  49. \entry {continuation of lines}{21}{continuation of lines}
  50. \entry {multiple statements on one line}{22}{multiple statements on one line}
  51. \entry {when to use awk}{22}{when to use \code {awk}}
  52. \entry {applications of awk}{22}{applications of \code {awk}}
  53. \entry {reading files}{25}{reading files}
  54. \entry {input}{25}{input}
  55. \entry {standard input}{25}{standard input}
  56. \entry {FILENAME}{25}{\code {FILENAME}}
  57. \entry {record separator}{25}{record separator}
  58. \entry {changing the record separator}{25}{changing the record separator}
  59. \entry {RS}{25}{\code {RS}}
  60. \entry {number of records, NR or FNR}{26}{number of records, \code {NR} or \code {FNR}}
  61. \entry {NR}{26}{\code {NR}}
  62. \entry {FNR}{26}{\code {FNR}}
  63. \entry {examining fields}{26}{examining fields}
  64. \entry {fields}{26}{fields}
  65. \entry {accessing fields}{26}{accessing fields}
  66. \entry {$ (field operator)}{27}{\code {$} (field operator)}
  67. \entry {operators, $}{27}{operators, \code {$}}
  68. \entry {NF}{27}{\code {NF}}
  69. \entry {number of fields, NF}{27}{number of fields, \code {NF}}
  70. \entry {field, changing contents of}{29}{field, changing contents of}
  71. \entry {changing contents of a field}{29}{changing contents of a field}
  72. \entry {assignment to fields}{29}{assignment to fields}
  73. \entry {FS}{30}{\code {FS}}
  74. \entry {fields, separating}{30}{fields, separating}
  75. \entry {field separator, FS}{30}{field separator, \code {FS}}
  76. \entry {-F option}{30}{\samp {-F} option}
  77. \entry {field separator, choice of}{31}{field separator, choice of}
  78. \entry {regular expressions as field separators}{31}{regular expressions as field separators}
  79. \entry {field separator: on command line}{32}{field separator: on command line}
  80. \entry {command line, setting FS on}{32}{command line, setting \code {FS} on}
  81. \entry {multiple line records}{37}{multiple line records}
  82. \entry {input, multiple line records}{37}{input, multiple line records}
  83. \entry {reading files, multiple line records}{37}{reading files, multiple line records}
  84. \entry {records, multiple line}{37}{records, multiple line}
  85. \entry {getline}{38}{\code {getline}}
  86. \entry {input, explicit}{38}{input, explicit}
  87. \entry {explicit input}{38}{explicit input}
  88. \entry {input, getline command}{38}{input, \code {getline} command}
  89. \entry {reading files, getline command}{38}{reading files, \code {getline} command}
  90. \entry {input redirection}{40}{input redirection}
  91. \entry {redirection of input}{40}{redirection of input}
  92. \entry {closing input files and pipes}{43}{closing input files and pipes}
  93. \entry {close}{43}{\code {close}}
  94. \entry {printing}{45}{printing}
  95. \entry {output}{45}{output}
  96. \entry {print statement}{45}{\code {print} statement}
  97. \entry {output field separator, OFS}{47}{output field separator, \code {OFS}}
  98. \entry {OFS}{47}{\code {OFS}}
  99. \entry {ORS}{47}{\code {ORS}}
  100. \entry {output record separator, ORS}{47}{output record separator, \code {ORS}}
  101. \entry {OFMT}{48}{\code {OFMT}}
  102. \entry {formatted output}{49}{formatted output}
  103. \entry {output, formatted}{49}{output, formatted}
  104. \entry {printf statement, syntax of}{49}{\code {printf} statement, syntax of}
  105. \entry {format string}{49}{format string}
  106. \entry {printf, format-control characters}{49}{\code {printf}, format-control characters}
  107. \entry {format specifier}{49}{format specifier}
  108. \entry {printf, modifiers}{50}{\code {printf}, modifiers}
  109. \entry {modifiers (in format specifiers)}{50}{modifiers (in format specifiers)}
  110. \entry {output redirection}{53}{output redirection}
  111. \entry {redirection of output}{53}{redirection of output}
  112. \entry {pipes for output}{54}{pipes for output}
  113. \entry {output, piping}{54}{output, piping}
  114. \entry {closing output files and pipes}{55}{closing output files and pipes}
  115. \entry {close}{55}{\code {close}}
  116. \entry {standard input}{56}{standard input}
  117. \entry {standard output}{56}{standard output}
  118. \entry {standard error output}{56}{standard error output}
  119. \entry {file descriptors}{56}{file descriptors}
  120. \entry {differences: gawk and awk}{56}{differences: \code {gawk} and \code {awk}}
  121. \entry {/dev/stdin}{57}{\file {/dev/stdin}}
  122. \entry {/dev/stdout}{57}{\file {/dev/stdout}}
  123. \entry {/dev/stderr}{57}{\file {/dev/stderr}}
  124. \entry {/dev/fd/}{57}{\file {/dev/fd/}}
  125. \entry {one-liners}{59}{one-liners}
  126. \entry {pattern, definition of}{61}{pattern, definition of}
  127. \entry {patterns, types of}{61}{patterns, types of}
  128. \entry {pattern, regular expressions}{61}{pattern, regular expressions}
  129. \entry {regexp}{61}{regexp}
  130. \entry {regular expressions as patterns}{61}{regular expressions as patterns}
  131. \entry {regular expression matching operators}{62}{regular expression matching operators}
  132. \entry {string-matching operators}{62}{string-matching operators}
  133. \entry {operators, string-matching}{62}{operators, string-matching}
  134. \entry {operators, regexp matching}{62}{operators, regexp matching}
  135. \entry {regexp search operators}{62}{regexp search operators}
  136. \entry {computed regular expressions}{62}{computed regular expressions}
  137. \entry {regular expressions, computed}{62}{regular expressions, computed}
  138. \entry {dynamic regular expressions}{62}{dynamic regular expressions}
  139. \entry {metacharacters}{63}{metacharacters}
  140. \entry {regular expression metacharacters}{63}{regular expression metacharacters}
  141. \entry {comparison expressions as patterns}{66}{comparison expressions as patterns}
  142. \entry {pattern, comparison expressions}{66}{pattern, comparison expressions}
  143. \entry {relational operators}{66}{relational operators}
  144. \entry {operators, relational}{66}{operators, relational}
  145. \entry {patterns, boolean}{67}{patterns, boolean}
  146. \entry {boolean patterns}{67}{boolean patterns}
  147. \entry {range pattern}{69}{range pattern}
  148. \entry {patterns, range}{69}{patterns, range}
  149. \entry {BEGIN special pattern}{69}{\code {BEGIN} special pattern}
  150. \entry {patterns, BEGIN}{69}{patterns, \code {BEGIN}}
  151. \entry {END special pattern}{69}{\code {END} special pattern}
  152. \entry {patterns, END}{69}{patterns, \code {END}}
  153. \entry {empty pattern}{70}{empty pattern}
  154. \entry {pattern, empty}{70}{pattern, empty}
  155. \entry {action, definition of}{73}{action, definition of}
  156. \entry {curly braces}{73}{curly braces}
  157. \entry {action, curly braces}{73}{action, curly braces}
  158. \entry {action, separating statements}{73}{action, separating statements}
  159. \entry {expression}{75}{expression}
  160. \entry {constants, types of}{75}{constants, types of}
  161. \entry {string constants}{75}{string constants}
  162. \entry {numeric constant}{75}{numeric constant}
  163. \entry {numeric value}{75}{numeric value}
  164. \entry {differences between gawk and awk}{75}{differences between \code {gawk} and \code {awk}}
  165. \entry {escape sequence notation}{75}{escape sequence notation}
  166. \entry {variables, user-defined}{78}{variables, user-defined}
  167. \entry {user-defined variables}{78}{user-defined variables}
  168. \entry {arithmetic operators}{79}{arithmetic operators}
  169. \entry {operators, arithmetic}{79}{operators, arithmetic}
  170. \entry {addition}{79}{addition}
  171. \entry {subtraction}{79}{subtraction}
  172. \entry {multiplication}{79}{multiplication}
  173. \entry {division}{79}{division}
  174. \entry {remainder}{79}{remainder}
  175. \entry {quotient}{79}{quotient}
  176. \entry {exponentiation}{79}{exponentiation}
  177. \entry {differences between gawk and awk}{80}{differences between \code {gawk} and \code {awk}}
  178. \entry {string operators}{80}{string operators}
  179. \entry {operators, string}{80}{operators, string}
  180. \entry {concatenation}{80}{concatenation}
  181. \entry {comparison expressions}{81}{comparison expressions}
  182. \entry {expressions, comparison}{81}{expressions, comparison}
  183. \entry {relational operators}{81}{relational operators}
  184. \entry {operators, relational}{81}{operators, relational}
  185. \entry {regexp operators}{81}{regexp operators}
  186. \entry {CONVFMT}{82}{\code {CONVFMT}}
  187. \entry {regexp as expression}{83}{regexp as expression}
  188. \entry {expressions, boolean}{83}{expressions, boolean}
  189. \entry {boolean expressions}{83}{boolean expressions}
  190. \entry {operators, boolean}{83}{operators, boolean}
  191. \entry {boolean operators}{83}{boolean operators}
  192. \entry {logical operations}{83}{logical operations}
  193. \entry {and operator}{83}{and operator}
  194. \entry {or operator}{83}{or operator}
  195. \entry {not operator}{83}{not operator}
  196. \entry {assignment operators}{84}{assignment operators}
  197. \entry {operators, assignment}{84}{operators, assignment}
  198. \entry {expressions, assignment}{84}{expressions, assignment}
  199. \entry {side effect}{85}{side effect}
  200. \entry {lvalue}{85}{lvalue}
  201. \entry {increment operators}{87}{increment operators}
  202. \entry {operators, increment}{87}{operators, increment}
  203. \entry {conversion of strings and numbers}{88}{conversion of strings and numbers}
  204. \entry {CONVFMT}{88}{\code {CONVFMT}}
  205. \entry {OFMT}{89}{\code {OFMT}}
  206. \entry {conversion of strings and numbers}{89}{conversion of strings and numbers}
  207. \entry {conditional expression}{91}{conditional expression}
  208. \entry {expression, conditional}{91}{expression, conditional}
  209. \entry {function call}{91}{function call}
  210. \entry {calling a function}{91}{calling a function}
  211. \entry {arguments in function call}{92}{arguments in function call}
  212. \entry {precedence}{93}{precedence}
  213. \entry {operator precedence}{93}{operator precedence}
  214. \entry {control statement}{95}{control statement}
  215. \entry {if statement}{95}{\code {if} statement}
  216. \entry {while statement}{96}{\code {while} statement}
  217. \entry {loop}{96}{loop}
  218. \entry {body of a loop}{96}{body of a loop}
  219. \entry {for statement}{98}{\code {for} statement}
  220. \entry {break statement}{99}{\code {break} statement}
  221. \entry {loops, exiting}{99}{loops, exiting}
  222. \entry {continue statement}{100}{\code {continue} statement}
  223. \entry {next statement}{102}{\code {next} statement}
  224. \entry {next file statement}{103}{\code {next file} statement}
  225. \entry {exit statement}{104}{\code {exit} statement}
  226. \entry {arrays}{107}{arrays}
  227. \entry {arrays, definition of}{107}{arrays, definition of}
  228. \entry {associative arrays}{107}{associative arrays}
  229. \entry {array reference}{109}{array reference}
  230. \entry {element of array}{109}{element of array}
  231. \entry {reference to array}{109}{reference to array}
  232. \entry {arrays, presence of elements}{109}{arrays, presence of elements}
  233. \entry {array assignment}{110}{array assignment}
  234. \entry {element assignment}{110}{element assignment}
  235. \entry {for (x in ...{})}{111}{\code {for (x in \dots {})}}
  236. \entry {arrays, special for statement}{111}{arrays, special \code {for} statement}
  237. \entry {scanning an array}{111}{scanning an array}
  238. \entry {delete statement}{112}{\code {delete} statement}
  239. \entry {deleting elements of arrays}{112}{deleting elements of arrays}
  240. \entry {removing elements of arrays}{112}{removing elements of arrays}
  241. \entry {arrays, deleting an element}{112}{arrays, deleting an element}
  242. \entry {conversions, during subscripting}{113}{conversions, during subscripting}
  243. \entry {numbers, used as subscripts}{113}{numbers, used as subscripts}
  244. \entry {CONVFMT}{113}{\code {CONVFMT}}
  245. \entry {subscripts in arrays}{114}{subscripts in arrays}
  246. \entry {arrays, multi-dimensional subscripts}{114}{arrays, multi-dimensional subscripts}
  247. \entry {multi-dimensional subscripts}{114}{multi-dimensional subscripts}
  248. \entry {SUBSEP}{114}{\code {SUBSEP}}
  249. \entry {built-in functions}{117}{built-in functions}
  250. \entry {match}{119}{\code {match}}
  251. \entry {length}{119}{\code {length}}
  252. \entry {match}{119}{\code {match}}
  253. \entry {RSTART}{119}{\code {RSTART}}
  254. \entry {RLENGTH}{119}{\code {RLENGTH}}
  255. \entry {split}{120}{\code {split}}
  256. \entry {sprintf}{120}{\code {sprintf}}
  257. \entry {sub}{121}{\code {sub}}
  258. \entry {gsub}{122}{\code {gsub}}
  259. \entry {substr}{122}{\code {substr}}
  260. \entry {tolower}{122}{\code {tolower}}
  261. \entry {toupper}{122}{\code {toupper}}
  262. \entry {system}{123}{\code {system}}
  263. \entry {interaction, awk and other programs}{123}{interaction, \code {awk} and other programs}
  264. \entry {flushing buffers}{123}{flushing buffers}
  265. \entry {buffers, flushing}{123}{buffers, flushing}
  266. \entry {buffering output}{123}{buffering output}
  267. \entry {output, buffering}{123}{output, buffering}
  268. \entry {time stamps}{124}{time stamps}
  269. \entry {time of day}{124}{time of day}
  270. \entry {systime}{124}{\code {systime}}
  271. \entry {strftime}{124}{\code {strftime}}
  272. \entry {user-defined functions}{129}{user-defined functions}
  273. \entry {functions, user-defined}{129}{functions, user-defined}
  274. \entry {defining functions}{129}{defining functions}
  275. \entry {function definition}{129}{function definition}
  276. \entry {call by value}{132}{call by value}
  277. \entry {call by reference}{133}{call by reference}
  278. \entry {return statement}{133}{\code {return} statement}
  279. \entry {built-in variables}{137}{built-in variables}
  280. \entry {built-in variables, user modifiable}{137}{built-in variables, user modifiable}
  281. \entry {CONVFMT}{137}{\code {CONVFMT}}
  282. \entry {FIELDWIDTHS}{137}{\code {FIELDWIDTHS}}
  283. \entry {FS}{137}{\code {FS}}
  284. \entry {IGNORECASE}{138}{\code {IGNORECASE}}
  285. \entry {OFMT}{138}{\code {OFMT}}
  286. \entry {OFS}{138}{\code {OFS}}
  287. \entry {ORS}{138}{\code {ORS}}
  288. \entry {RS}{138}{\code {RS}}
  289. \entry {SUBSEP}{138}{\code {SUBSEP}}
  290. \entry {ARGC}{139}{\code {ARGC}}
  291. \entry {ARGV}{139}{\code {ARGV}}
  292. \entry {ENVIRON}{139}{\code {ENVIRON}}
  293. \entry {FILENAME}{139}{\code {FILENAME}}
  294. \entry {FNR}{140}{\code {FNR}}
  295. \entry {NF}{140}{\code {NF}}
  296. \entry {NR}{140}{\code {NR}}
  297. \entry {RLENGTH}{140}{\code {RLENGTH}}
  298. \entry {RSTART}{140}{\code {RSTART}}
  299. \entry {command line}{141}{command line}
  300. \entry {invocation of gawk}{141}{invocation of \code {gawk}}
  301. \entry {arguments, command line}{141}{arguments, command line}
  302. \entry {options, command line}{141}{options, command line}
  303. \entry {-v option}{141}{\samp {-v} option}
  304. \entry {-W option}{141}{\samp {-W} option}
  305. \entry {ARGV}{143}{\code {ARGV}}
  306. \entry {multiple passes over data}{144}{multiple passes over data}
  307. \entry {passes, multiple}{144}{passes, multiple}
  308. \entry {AWKPATH environment variable}{144}{\code {AWKPATH} environment variable}
  309. \entry {search path}{144}{search path}
  310. \entry {directory search}{144}{directory search}
  311. \entry {path, search}{144}{path, search}
  312. \entry {differences between gawk and awk}{144}{differences between \code {gawk} and \code {awk}}
  313. \entry {deprecated options}{145}{deprecated options}
  314. \entry {obsolete options}{145}{obsolete options}
  315. \entry {deprecated features}{145}{deprecated features}
  316. \entry {obsolete features}{145}{obsolete features}
  317. \entry {getting gawk}{151}{getting gawk}
  318. \entry {anonymous ftp}{151}{anonymous ftp}
  319. \entry {anonymous uucp}{151}{anonymous uucp}
  320. \entry {ftp, anonymous}{151}{ftp, anonymous}
  321. \entry {uucp, anonymous}{151}{uucp, anonymous}
  322. \entry {installation, unix}{153}{installation, unix}
  323. \entry {installation, vms}{156}{installation, vms}
  324. \entry {installation, ms-dos}{159}{installation, ms-dos}
  325. \entry {installation, atari}{159}{installation, atari}
  326.